package com.iqiyi.service.impl;

import com.iqiyi.mapper.EpisodeMapper;
import com.iqiyi.po.Episode;
import com.iqiyi.service.EpisodeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * TODO
 *  剧集业务层
 * @author Administrator
 * @date 2021/2/24 11:29
 */
@Service
public class EpisodeServiceImpl implements EpisodeService {
    @Autowired(required = false)
    private EpisodeMapper episodeMapper;
    @Override
    public List<Episode> findEnumberByVid(int vid) {
        List<Episode> enumberByVid = episodeMapper.findEnumberByVid(vid);
        return enumberByVid;
    }
}
